package com.neusoft.service.impl;

import java.util.List;

import com.neusoft.bean.Power;
import com.neusoft.dao.PowerDao;
import com.neusoft.dao.impl.PowerDaoImpl;
import com.neusoft.service.PowerService;

public class PowerServiceImpl implements PowerService{
	PowerDao powerDao = new PowerDaoImpl();
	@Override
	public List<Power> showPower() {
		return powerDao.showPower();
	}
	@Override
	public Power findPowerByName(String name) {
		return powerDao.findPowerByName(name);
	}
	@Override
	public Power findPowerById(int id) {
		return powerDao.findPowerById(id);
	}
	
}
